package com.foreknow.demo9Exercise8;

public class Fish extends Animal {

    public static void main(String[] args) {
        Animal f = new Fish();
        f.setCount(360);
        int a = f.getCount();
        System.out.println("鱼有" + a + "条");
    }

}
